package com.xw.bo.ks.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author： XW -> ~
 * @create： 2023/11/11 15:29
 */
public class WechatClientUtil {

    public static String logKey = "ad299deb-60eb-4aee-8f8e-6a2c8aedb185";
    public static String errorKey = "13bd87cd-cd36-487b-8330-08882453a3e4";

    public static Map<String, Object> getBody(String msg){
        Map<String, Object> body = new HashMap<>();
        body.put("msgtype", "text");
        Map<String, String> content = new HashMap<>();
        content.put("content", msg);
        body.put("text", content);
        return body;
    }

    public static Map<String, Object> getBodyFindXw(String msg){
        Map<String, Object> body = new HashMap<>();
        body.put("msgtype", "text");
        Map<String, String> content = new HashMap<>();
        content.put("content", msg);
        content.put("mentioned_mobile_list", "17370511977");
        body.put("text", content);
        return body;
    }

}
